The CSS attribute selector matches elements based on the element having a given attribute explicitly set, with options for defining an attribute value or ...
CSS attribute selector are a powerful feature that allows you to select HTML elements based on the presence of specific attributes or their attribute values.
The [attribute] selector is used to select elements with a specified attribute. The following example selects all <a> elements with a target attribute.